package com.xxx.blog.mapper;

import com.xxx.blog.domain.ArticleType;
import com.xxx.blog.query.ArticleTypeQuery;
import com.xxx.blog.vo.ArticleTypeSta;

import java.util.List;

/**
 * @author BoWei Wang
 * @date 2025/8/5
 */
public interface ArticleTypeMapper {
    List<ArticleType> findAll();

    ArticleType findOne(Long id);

    List<ArticleType> queryPage(ArticleTypeQuery articleTypeQuery);

    void addArticleType(ArticleType articleType);

    void updateArticleType(ArticleType articleType);

    void deleteArticleType(Long id);

    void batchDeleteArticleTypes(Long[] ids);

    List<ArticleTypeSta> articleTypeSta();
}
